import Vue from 'vue';
import 'normalize.css/normalize.css';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import locale from 'element-ui/lib/locale/lang/zh-CN';
import DictSelect from './components/DictSelect';

import '@/styles/index.scss';
import './directive';
import App from './App';
import store from './store';
import router from './router';

import '@/icons';
import '@/permission';

Vue.use(ElementUI, { locale });
Vue.component('DictSelect', DictSelect);

Vue.config.productionTip = false;

new Vue({
	el: '#app',
	router,
	store,
	render: (h) => h(App)
});
